package Promotion;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-10-02 09:17
 */
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }
    public void execute(){
        promotionStrategy.doPromotion();
    }
}
